home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / comms / ts3j.zip / RS232OFF.DOC < prev    next >
Text File  |  1994-03-01  |  1KB  |  26 lines

  1. From: Dave Hershberger.
  2.  
  3. I have noticed and found a fix for a problem which occurs when
  4. you use PROCOMM on COM3 and/or COM4. COM3 and COM4, when used
  5. with PROCOMM 2.4.2, share the same interrups as COM1 and COM2.
  6. That is, COM1 and COM3 share interrupt IRQ4 while COM2 and COM4
  7. share IRQ3. This is fine as long as all programs which use the
  8. COM ports tell the UART to "shut up" and get off the interrupt
  9. bus before the programs terminate. Otherwise, bus contention may
  10. occur. Two UARTs can both be tri-stated "on" trying to drive the
  11. same interrupt. I have had the problem using PROCOMM on COM3 and
  12. a Logitech mouse on COM1 with Generic Cadd. After using COM3 with
  13. PROCOMM, for instance, then sometimes I could not run Generic
  14. Cadd using the mouse on COM1. It was as though COM1 was not there
  15. anymore. Similarly, sometimes after using Generic Cadd using the
  16. mouse on COM1, COM3 did not seem to be there using PROCOMM.
  17. CNTRL-ALT-DEL is not sufficient to clear the problem. The only
  18. way to clear the bus contention was to turn the power off! After
  19. conferring with a friend (Jim Michener, who gets credit for
  20. writing the "RS232OFF" program), a solution was found. The
  21. RS232OFF program simply sends a "shut up" command to all four
  22. UARTs. The simple ten-line "c" source code as well as the
  23. compiled .EXE files are included. If you have programs which
  24. alternately use COM1/COM3 or COM2/COM3, just run RS232OFF between
  25. them.
  26.